<!--包含头部文件-->
{include file="public/header" /}
<body>
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 权限列表</nav>
<div class="page-container">


    <div class="mt-20">
        <table class="table table-border table-bordered table-bg table-hover table-sort">
            <thead>
            <tr class="text-c">
                <th width="80">ID</th>
                <th width="100">权限名称</th>
                <th width="30">父类权限</th>
                <th width="150">控制器</th>
                <th width="60">操作方法</th>
                <th width="60">路由地址</th>
                <th width="100">操作</th>
            </tr>
            </thead>
            <tbody>
            {volist name='permissions' id='vo'}
            <tr class="text-c left_align" id="left_align">
                <td>{$vo['ps_id']}</td>
                <td style="text-align: left;">{$vo.ps_level|str_repeat='----',###}{$vo.ps_name}</td>
                <td>{$vo.ps_pid}</td>
                <td>{$vo.ps_c}</td>
                <td>{$vo.ps_a}</td>
                <td class="td-status">{$vo.ps_route}</td>
                <td class="td-manage">
                    <a style="text-decoration:none" class="ml-5" onClick="o2o_s_edit('添加权限','{:url('permission/add')}')"
                       href="javascript:;" title="删除"><i class="Hui-iconfont">添加</i></a>
                    <a style="text-decoration:none" class="ml-5" onClick="" href="javascript:;" title="删除"><i
                            class="Hui-iconfont">&#xe6e2;</i></a></td>
            </tr>
            {/volist}
            </tbody>
        </table>
    </div>
</div>
<!--包含头部文件-->
{include file="public/footer" /}
